package com.coocaa.ops.admin.v1.policygroup.biz;

import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupChipModelConfigEntity;
import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupInfoEntity;

import java.util.List;

/**
 * @author bjh
 * @description 策略组机型机芯配置表-biz层接口
 * @date 2020-03-12 14:46:25
 */
public interface IPolicyGroupChipModelConfigBiz {
    /**
     * 保存关联的机型机芯信息
     *
     * @param policyGroupInfoEntity
     */
    void saveModelChipRls(PolicyGroupInfoEntity policyGroupInfoEntity);

    /**
     * 查询关联的机型机芯信息
     *
     * @param id
     * @param version
     * @return
     */
    List<PolicyGroupChipModelConfigEntity> queryChipModelList(Integer id, Integer version);

    /**
     * 删除关联信息
     *
     * @param id
     * @param version
     */
    void deleteRls(Integer id, Integer version);

    /**
     * 逻辑删除关联信息
     *
     * @param id
     * @param version
     */
    void logicDeleteRls(Integer id, Integer version, Integer userId);
}